package com.sufen.seckill.study.LeetCodeHelper;

/**
 * @Author sufen
 * @Date 2021/11/4 15:38
 * @Version 1.0
 * 功能描述：
 */
public class TreeNode {
//    public int val = 0;
//    public TreeNode left = null;
//    public TreeNode right = null;
//
//    public TreeNode(int val) {
//        this.val = val;
//    }

    public int val;
    public TreeNode left=null;
    public TreeNode right=null;

    public TreeNode(int val){
        this.val=val;
    }
}